package handler

import (
	"gin_chat_demo/websocket"
	"gin_chat_demo/websocket/handler/timing"
)

func RegisterHandlers(srv *websocket.Server) {
	srv.AddRouters([]websocket.Route{
		{
			Method:  "timing.online",
			Handler: timing.Online(),
		},
	})
}
